package com.ytkj.digitalConstruction.httpbean.role.resbean;

import java.util.List;

/**
 * 流程权限返回类
 * @author 张重阳
 *
 */
public class ReturnFlowPermission {
	
	/**
	 * 权限Id
	 */
	private Integer id;
	
	/**
	 * 流程Id
	 */
	private Integer flowId;
	
	/**
	 * 是否按钮
	 */
	private Boolean isButton;
	
	/**
	 * 父级Id
	 */
	private Integer pId;
	
	/**
	 * 是否拥有权限
	 */
	private Boolean have;
	
	/**
	 * 是否选中
	 */
	private Boolean checked;
	
	/**
	 * 权限名称
	 */
	private String label;
	
	/**
	 * 子权限
	 */
	private List<ReturnFlowPermission> children;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getFlowId() {
		return flowId;
	}

	public void setFlowId(Integer flowId) {
		this.flowId = flowId;
	}

	public Boolean getIsButton() {
		return isButton;
	}

	public void setIsButton(Boolean isButton) {
		this.isButton = isButton;
	}

	public Integer getpId() {
		return pId;
	}

	public void setpId(Integer pId) {
		this.pId = pId;
	}

	public Boolean getHave() {
		return have;
	}

	public void setHave(Boolean have) {
		this.have = have;
	}

	public String getLabel() {
		return label;
	}

	public void setLabel(String label) {
		this.label = label;
	}

	public List<ReturnFlowPermission> getChildren() {
		return children;
	}

	public void setChildren(List<ReturnFlowPermission> children) {
		this.children = children;
	}

	public Boolean getChecked() {
		return checked;
	}

	public void setChecked(Boolean checked) {
		this.checked = checked;
	}

}
